/**
 * 
 * @param $o The Object of the class.
 * @return A new instance of a class.
 * @author Administrator
 * 
 */
function _class($o) {
	var _core = $o.init;
	for ( var k in $o) {
		_core[k] = $o[k];
	}
	return _core;
};
/**
 * 
 * @param func The function.
 * @param $o The Object.
 * @return A signle function for Object.
 */
function _close($o,func){
	var args = Array.prototype.slice.call(arguments, 2);
	return function(event){
		func.apply($o,args.concat(event||window.event));
	};
}
/**
 * 
 * @class _
 * @classDescription A class of systeam private.
 * @constructor $o.init().
 */
var _ = _class( {
	init : function() {
		alert('init');
		return this;
	}
});
/**
 * 
 * @class $
 * @classDescription A class of systeam function.
 * @constructor $o.init().
 */
var $ = _class( {
	init : function($o) {
		$o.main();
	}
});
